﻿
@{
    ViewData["Title"] = "TestTemplate";
    Layout = "~/Views/Shared/Template.cshtml";
}

<h1>Test</h1>
<div style="padding: 16px;">
    <table class="layui-hide" id="test" lay-filter="test"></table>
</div>
<script type="text/html" id="toolbarDemo">
    <div class="layui-btn-container">
      <button class="layui-btn layui-btn-sm" lay-event="getCheckData">获取选中行数据</button>
      <button class="layui-btn layui-btn-sm" lay-event="getData">获取当前页数据</button>
      <button class="layui-btn layui-btn-sm" id="dropdownButton">
        下拉按钮
        <i class="layui-icon layui-icon-down layui-font-12"></i>
      </button>
      <button class="layui-btn layui-btn-sm layui-bg-blue" id="reloadTest">
        重载测试
        <i class="layui-icon layui-icon-down layui-font-12"></i>
      </button>
      <button class="layui-btn layui-btn-sm layui-btn-primary" id="rowMode">
        <span>{{= d.lineStyle ? '多行' : '单行' }}模式</span>
        <i class="layui-icon layui-icon-down layui-font-12"></i>
      </button>
    </div>
</script>
<script type="text/html" id="toolDemo">
    <div class="layui-clear-space">
      <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
      <a class="layui-btn layui-btn-xs" lay-event="more">
        更多
        <i class="layui-icon layui-icon-down"></i>
      </a>
    </div>
</script>
 <script src="../js/testtemplate.js"></script>